package com.we.tickets.dao;

import com.alibaba.fastjson.JSONObject;

import java.util.List;

public interface UserDao {
    String getPasswordByUsername(String username);
    JSONObject getUserInfoByUsername(String username);
    JSONObject getUserInfoByAddress(String address);
    int addUser(JSONObject jsonObject);
    List<JSONObject> getAllUsers();
    String getUserPrivateKeyById(int id);
}
